.slider-area{
    @extend %hero-bg2;

    margin-top: -1px;
    .hero-caption{
        position: relative;
        z-index: 2;
        @media #{$md}{
            padding-top: 74px;
        }
        @media #{$sm}{
            padding-top: 27px;
        }
        @media #{$xs}{
            padding-top: 65px;
        }
        span{
            font-family: $font_2;
            color: #fff;
            font-size: 24px;
            font-weight: 400;
            display: inline-block;
            margin-bottom: 20px;
            line-height: 1.3;
            @media #{$md}{
                font-size: 24px;
            }
            @media #{$sm}{
                font-size:33px;
            }
            @media #{$xs}{
                font-size: 18px;
            }
        }
        h1{
            color:#fff;
            font-family: $font_1;
            font-size: 64px;
            font-weight: 400;
            line-height: 1.3;
            margin-bottom: 10px;
            @media #{$lg}{
                font-size: 47px;
            }
            @media #{$md}{
                font-size: 34px;
            }
            @media #{$sm}{
                font-size: 51px;
            }
            @media #{$xs}{
                font-size: 33px;
                margin-bottom: 20px;
            }
        }
        p{
            margin-bottom: 29px;
            padding-right: 16px;
            color: #fff;
            font-size: 18px;

           @media #{$md}{
                padding-right: 0px;
            }
           @media #{$sm}{
                padding-right: 0px;
            }
           @media #{$xs}{
                margin-bottom: 32px;
                padding-right: 0px;
                font-size: 18px;
            }
        }
        // Another Page
        &.hero-caption2{

            padding-top: 95px;
            h2{
                
                color:#fff;
                font-size: 64px;
                display: block;
                font-weight: 600;
                line-height: 1.4;
                margin-bottom: 10px;
                @media #{$md}{
                    margin-bottom: 20px;
                    font-size: 43px;
                }
                @media #{$sm}{
                    margin-bottom: 20px;
                }
                @media #{$xs}{
                    margin-bottom: 20px;
                    font-size: 44px;
                }
            }
            p{
                margin-bottom: 0px;
                color:#fff;
                font-size: 18px;
                line-height: 1.6;
                @media #{$xs}{
                    font-size: 18px;
                }
            }
        }
    }
    // Shape 2
    .hero-shape{
        position: absolute;
        top: -57%;
        right: -146px;
        @media #{$large1}{
            top: -17%;
            right: 1%;
        }
        @media #{$large2}{
            top: -17%;
            right: -7%;
        }
        @media #{$lg}{
            top: -31%;
            right: -7px;
        }
        @media #{$md}{
            top: 4%;
            right: -7px;
        }
        img{
            width: 1158px;
            height: 669px;
            @media #{$large1}{
                width: 1011px;
                height: 559px;
            }
            
            @media #{$large2}{
                width: 1011px;
                height: 559px;
            }
            @media #{$large3}{
                width: 1158px;
                height: 669px;
            }
            @media #{$lg}{
                width: 809px;
                height: 480px;
            }
            @media #{$md}{
                width: 628px;
                height: 369px;
            }
            @media #{$sm}{
                width: 1158px;
                height: 669px;
                display: none;
            }
            @media #{$xs}{
                width: 1158px;
                height: 669px;
                display: none;
            }
        }
    }
}

// Hero Overlay
.hero-overly {
    position: relative;
    z-index: 0;
    &::before {
        position: absolute;
        content: "";
        background-color: rgba(35, 30, 30,.4);;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        z-index: -1;
        background-repeat: no-repeat;
    }
}

.hero-overly2 {
    position: relative;
    z-index: 0;
    &::before {
        position: absolute;
        content: "";
        background-color: rgba(35, 30, 30,0.702);
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        z-index: -1;
        background-repeat: no-repeat;
    }
}

// Slider Height
.slider-height {
    height:900px;
    background-repeat:no-repeat ;
    background-position: center center;
    @media #{$laptop}{
        height:700px;
    }
    @media #{$lg}{
        height: 700px;
    }
    @media #{$md}{
        height: 500px;
    }
    @media #{$sm}{
        height: 580px;
    }
    @media #{$xs}{
        height: 468px;
    }
}

.slider-height2{
    height: 413px;
    background-repeat:no-repeat ;
    background-position: center center;
    @media #{$lg}{
        height:400px;
    }
    @media #{$md}{
        height: 400px;
    }
    @media #{$sm}{
        height: 400px;
    }
    @media #{$xs}{
        height: 350px;
    }
}


.slider-bg1{
    background-image: url(../img/hero/h1_hero1.png);
    background-repeat:no-repeat ;
    // background-position: center center;
    background-size: cover;
}

.slider-bg2{
    background-image: url(../img/hero/h2_hero1.png);
    background-repeat:no-repeat ;
    background-position: center center;
    background-size: cover;
}
